<?php
$this->breadcrumbs=array(
	'Settings',
);

$this->menu=array(
	array('label'=>'Create Settings', 'url'=>array('create')),
	array('label'=>'Manage Settings', 'url'=>array('admin')),
);
?>
<script type="text/javascript">
<!--
$(function(){
	$(".setting-button").button();
});
//-->
</script>

<div class="column1" style="width:100%;">
	<div class="box">
		<?php $this->beginWidget('zii.widgets.CPortlet', array('title'=>Yii::t('admin','General Settings')));?>
			<div class="box-content">
				<div class="form">
				<?php echo CHtml::beginForm(); ?>
				<?php $this->widget('zii.widgets.CListView', array(
					'dataProvider'=>$dataProvider,
					'itemView'=>'_view',
				)); ?>
				<?php echo CHtml::ajaxSubmitButton(	Yii::t('admin','Submit'),array('/site/test2'),array('update'=>'#req_res02',),array('class'=>'setting-button'));?>
				<?php echo CHtml::endForm(); ?>
				</div>			
			</div>
		<?php $this->endWidget();?>
	</div>
	<div id="req_res02">...</div>
</div>